﻿using System;
using System.Collections.Generic;
using System.Text;

namespace JWUX.Supermarket.IDAL
{
    public interface IBOM
    {
        bool Insert(Model.BOMInfo model);

        bool Update(Model.BOMInfo model);

        /// <summary>
        /// 获取一个BOM信息
        /// </summary>
        /// <param name="modelId">产品Id</param>
        /// <returns></returns>
        Model.BOMInfo Get(decimal modelId);
    }
}
